'use strict';

function average_uneven(collection) {
  let arr=collection.filter(
    function filtered(element){
      return element%2!==0;
    }
  );
  let i=arr.reduce(
    function reduced(a,b){
      return a+b;
    }
  );
  return i/arr.length;
  //在这里写入代码
}

module.exports = average_uneven;
